//
//  AddDataVC.h
//  CoreDataLearn
//
//  Created by zhoutong on 17/4/13.
//  Copyright © 2017年 tong. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^returnDataDic)(NSMutableDictionary *dataDic);

@interface AddDataVC : UIViewController

//名字输入框
@property (strong, nonatomic) IBOutlet UITextField *nameField;
//年龄输入框
@property (strong, nonatomic) IBOutlet UITextField *ageField;

@property (strong, nonatomic) IBOutlet UITextField *sexField;

@property (strong, nonatomic) IBOutlet UIImageView *headImge;
//用于展示头像，默认隐藏
@property (strong, nonatomic) IBOutlet UICollectionView *headShowView;

- (instancetype)initWithDataBlock:(returnDataDic)dataDicBlock;

- (void)fillData:(NSDictionary*)dic;

@end
